Release 10.1A: OpenEdge Development:
Messaging and ESB


Unified domain for JMS sessions

Prior to OpenEdge Release 10.1, clients were required to create a JMS session for either PTP or Pub/Sub. In order for a client to use both queues and topics, the client needed to create two separate JMS sessions.

The following syntax starts a JMS session using queues:

RUN  jms/ptpsession.p PERSISTENT SET ptpsession (adapterConnection). 

The following syntax starts a JMS session using topics:

RUN  jms/pubsubsession.p PERSISTENT SET pubsubsession (adapterConnection). 

In OpenEdge Release 10.1, clients can use both PTP and Pub/Sub in the same JMS session by using the unified domain model.

The following syntax starts a JMS session using the unified domain to access both queues and topics in one JMS session object:

RUN  jms/jmssession.p PERSISTENT SET jmssession (adapterConnection). 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095